package com.dawnClass.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface CourseESService {

    //1.解析数据放入es索引中
    public Boolean parseContent(String keywords) throws IOException;
    //2.获取这些数据实现搜索功能
    public List<Map<String,Object>> searchPage(String keyword,int pageNo,int pageSize) throws IOException;
}
